//

#ifndef _TESTDIALOG_HPP
#define _TESTDIALOG_HPP

#include "base.hpp"



// TestDialog
//
class TestDialog : public wtk::Dialog
{
public:

  TestDialog ( wtk::Display &display )
    : wtk::Dialog(display)
  {
  }
  
  virtual void draw ()
  {
    float x1 = 0.0f;
    float y1 = 0.0f;
    float x2 = float(width);
    float y2 = float(height);
    gl.Begin(GL_TRIANGLES);
    gl.Color3f(0.0f, 1.0f, 0.0f);
    gl.Vertex2f(x1, y1);
    gl.Vertex2f(x2, y1);
    gl.Vertex2f(x1, y2);
    gl.End();
  }

};

#endif
